﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    <ControlTemplate x:Key="GridSplitterTemplate" TargetType="{x:Type GridSplitter}">
        <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="{StaticResource SplitterHighlightBrush}" />
            </Trigger>
        </ControlTemplate.Triggers>
        <Rectangle Fill="{TemplateBinding Background}" />
    </ControlTemplate>
    
    <Style TargetType="{x:Type GridSplitter}">
        <Setter Property="Background" Value="{StaticResource SplitterNormalBrush}" />
        <Setter Property="Template" Value="{StaticResource GridSplitterTemplate}" />
    </Style>
    
    <ControlTemplate x:Key="BorderTemplate" TargetType="{x:Type ContentControl}">
        <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="#44000000" />
            </Trigger>
        </ControlTemplate.Triggers>
        <Rectangle Fill="{TemplateBinding Background}" />
    </ControlTemplate>

    <Style x:Key="BorderStyle" TargetType="{x:Type ContentControl}">
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="Template" Value="{StaticResource BorderTemplate}" />
    </Style>

</ResourceDictionary>